from django.db import models

# Create your models here.
class User(models.Model):
    username = models.CharField(max_length=30)
    password= models.CharField(max_length=255)
    age = models.IntegerField(default=0)
    gender = models.CharField(max_length=10)
    payment = models.IntegerField(default=0)  # 工资
    city = models.CharField(max_length=20)

    class Meta:
        db_table = 'user'